<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>分类管理</title>
</head>
<body>
<form action="" method="post">
<table>
<tr><td>分类名称：</td><td><input type="text" name="name"></td></tr>
<tr><td>介绍：</td><td><input type="text" name="introduce"></td></tr>
</table>
<input type="submit" value="提交">
<table>
<th>名称</th><th>介绍</th><th>操作</th>
<?php if(is_array($type)): $i = 0; $__LIST__ = $type;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>
<td><?php echo ($vo["name"]); ?></td><td><?php echo ($vo["introduce"]); ?></td><td><a href="/index.php/Admin/Index/deletetype?id=<?php echo ($vo["id"]); ?>">删除</a></td>
</tr><?php endforeach; endif; else: echo "" ;endif; ?>
</table>
</form>
</body>
</html>